import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import uView from "uview-ui";
import store from './store/index'
Vue.prototype.$store = store
Vue.use(uView);

Vue.config.productionTip = false

Vue.prototype.$ServerUrl="https://test.yxjc.shop/invoice"

App.mpType = 'app'
const app = new Vue({
	store,
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  //store
  app.use(store)
  app.config.globalProperties.$adpid = "1111111111"
  app.config.globalProperties.$backgroundAudioData = {
  	playing: false,
  	playTime: 0,
  	formatedPlayTime: '00:00:00'
  }
  return {
    app
  }
}
// #endif